package com.credithc.customers.base.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * @description: 统一登陆用户token表
 * @author: fby
 * @date: 2020/02/27 15:32
 * @param: null
 * @return:
 */
@Data
@Table(name = "cust_oauth_token")
public class CustOauthTokenPo extends CustomerBasePo {

    @Column(name = "system_id")
    private String systemId;

    @Column(name = "sub_system_id")
    private String subSystemId;

    @Column(name = "login_code")
    private String loginCode;

    @Column(name = "refresh_token")
    private String refreshToken;

    @Column(name = "access_token")
    private String accessToken;

    @Column(name = "pre_customer_no")
    private String preCustomerNo;

    @Column(name = "customer_no")
    private String customerNo;

    @Column(name = "status")
    private Integer status;

    @Column(name = "creator_id")
    private String creatorId;

    @Column(name = "modifier_id")
    private String modifierId;

    @Column(name = "modify_time")
    private Timestamp modifyTime;

    @Column(name = "access_token_time")
    private Timestamp accessTokenTime;

    @Column(name = "register_status")
    private Integer registerStatus;

    @Column(name = "credit_system")
    private String creditSystem;


}
